package server.gameplay;

import java.awt.Point;

public class UnitPos {
	public double x;
	public double y;
	
	public UnitPos() {
		x = 0d;
		y = 0d;
	}
	
	public Point toPoint() {
		return new Point((int)x, (int)y);
	}

	public void setPoint(Point next) {
		x = next.x;
		y = next.y;		
	}
}
